/**
 * output package name
 */
package com.kingdee.eas.taskmanager;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class ErrorCountEnum extends IntEnum
{
    public static final int ZERO_COUNT_VALUE = 0;
    public static final int TEN_COUNT_VALUE = 10;
    public static final int FIFTY_COUNT_VALUE = 50;
    public static final int ALL_COUNT_VALUE = 9999999;

    public static final ErrorCountEnum Zero_Count = new ErrorCountEnum("Zero_Count", ZERO_COUNT_VALUE);
    public static final ErrorCountEnum Ten_Count = new ErrorCountEnum("Ten_Count", TEN_COUNT_VALUE);
    public static final ErrorCountEnum Fifty_Count = new ErrorCountEnum("Fifty_Count", FIFTY_COUNT_VALUE);
    public static final ErrorCountEnum All_Count = new ErrorCountEnum("All_Count", ALL_COUNT_VALUE);

    /**
     * construct function
     * @param integer errorCountEnum
     */
    private ErrorCountEnum(String name, int errorCountEnum)
    {
        super(name, errorCountEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ErrorCountEnum getEnum(String errorCountEnum)
    {
        return (ErrorCountEnum)getEnum(ErrorCountEnum.class, errorCountEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static ErrorCountEnum getEnum(int errorCountEnum)
    {
        return (ErrorCountEnum)getEnum(ErrorCountEnum.class, errorCountEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ErrorCountEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ErrorCountEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ErrorCountEnum.class);
    }
}